package com.ruoyi.system.mapper;

import java.util.List;

import com.ruoyi.system.domain.ProcessingDeliveryLetter;

/**
 * 加工发货函Mapper接口
 *
 * @author ruoyi
 * @date 2025-05-30
 */
public interface ProcessingDeliveryLetterMapper {
    /**
     * 查询加工发货函
     *
     * @param keyId 加工发货函主键
     * @return 加工发货函
     */
    ProcessingDeliveryLetter selectProcessingDeliveryLetterByKeyId(Long keyId);

    /**
     * 查询加工发货函列表
     *
     * @param processingDeliveryLetter 加工发货函
     * @return 加工发货函集合
     */
    List<ProcessingDeliveryLetter> selectProcessingDeliveryLetterList(ProcessingDeliveryLetter processingDeliveryLetter);

    /**
     * 新增加工发货函
     *
     * @param processingDeliveryLetter 加工发货函
     * @return 结果
     */
    int insertProcessingDeliveryLetter(ProcessingDeliveryLetter processingDeliveryLetter);

    /**
     * 修改加工发货函
     *
     * @param processingDeliveryLetter 加工发货函
     * @return 结果
     */
    int updateProcessingDeliveryLetter(ProcessingDeliveryLetter processingDeliveryLetter);

    /**
     * 删除加工发货函
     *
     * @param keyId 加工发货函主键
     * @return 结果
     */
    int deleteProcessingDeliveryLetterByKeyId(Long keyId);

    /**
     * 批量删除加工发货函
     *
     * @param keyIds 需要删除的数据主键集合
     * @return 结果
     */
    int deleteProcessingDeliveryLetterByKeyIds(Long[] keyIds);
}
